package com.example.elm.Public

import java.io.Serializable

data class StoreInfo(
    val id:Int,
    val image:String,          //店图
    val name:String,        //店名
    val deliveryTime:String,//配送时间
    val distance:String,    //配送距离
    val rating:Double,      //评分
    val sales:Int,          //销售量
    val minPrice:Int,       //起送价
    val deliveryCost:String,//配送费
    val recommend:String,   //推荐语
    val campusSend:Int  //是否校园送
):Serializable
{
    constructor(image: String, name: String, deliveryTime: String, distance: String, rating: Double,
                sales: Int, minPrice: Int, deliveryCost: String, recommend: String, campusSend: Int):
            this(id = 0, image, name, deliveryTime, distance, rating, sales, minPrice, deliveryCost,
                recommend, campusSend)
    {

            }
}